import threading

import requests


def call():
    for i in range(1):
        # url = "https://home.changan.com.cn/share/#/info_details?id=156910&sharer=92868"
        url = "https://blog.csdn.net/weixin_37474682/article/details/119741032"
        headers = {
            # 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.1722.48'
            'user-agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36'
        }
        response = requests.get(url=url, headers=headers)
        print(i)
        print(response.text)

threads = list()
for i in range(8):
    t = threading.Thread(target=call)
    threads.append(t)
    t.start()

for t in threads:
    t.join()

